<%@ include file="/common/taglibs.jsp"%>
<%@taglib prefix="customer" tagdir="/WEB-INF/tags/customer" %>
<probiz:pageHeading pageHeadingKey="membershipList.title" />
<form class="mainForm" name="membershipForm" method="post" action="frontMembership.html">
	<div class="data">
		<div class="top clearfix">
			<ul class="tab">
				<li class="curr"><span><fmt:message key="menu.membershipList"/></span></li>
			</ul>
			<%@include file="/common/pagingOnlyTop.jsp"%>
		</div>
		<c:set var="checkAll">
			<input type="checkbox" name="allbox" onclick="checkAll(this.form)" class="checkbox" />
		</c:set>
		<display:table name="${membershipList}" cellspacing="0" cellpadding="0"	uid="membership" class="list_table"  requestURI="" >
			<display:column class="checkbox_column" title="${checkAll}" headerClass="data-table-title" media="html"> 

			</display:column>
		   
		    <display:column headerClass="data-table-title"  decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="membership.membershipName">
	        	<a href="${ctxPath}/system/frontMembership.html?doAction=edit&from=list&membershipId=${membership.membershipId}">${membership.membershipName}</a>
		        <c:if test="${membership.baseMembership}">(<fmt:message key="membership.default"/>)</c:if>
			</display:column>
		
		    <display:column property="membershipLevel"  headerClass="data-table-title"
		        decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="membership.membershipLevel"/>
		    
		     <display:column property="upgradeShopPoint"  headerClass="data-table-title"
		        decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="membership.upgradeShopPoint"/>
		    
		    <display:column  headerClass="data-table-title"  maxLength="64" style="width: 50%"
		        decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="membership.membershipDetail">
				${membership.membershipDetail}
			</display:column>
			<display:column headerClass="data-table-title" decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="common.action">
	   <span class="view"></span><a href="${ctxPath}/system/frontMembership.html?doAction=edit&from=list&membershipId=${membership.membershipId}">分配角色</a>
		 </display:column>
		</display:table>
		<%@include file="/common/paging.jsp"%>
	</div>
</form>
<br/>
<script type="text/javascript">
highlightTableRows("membership");
</script>

